package com.start.autumn.vaildation;

import javax.validation.Constraint;
import java.lang.annotation.*;

/*/*
 * 枚举校验注解
 */
@Target({ElementType.FIELD})
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = EnumValidator.class)
public @interface EnumValid {

    String message() default "参数错误";
}
